var ShareData = function() {
	this.viewTypeList = [{
			"value": "text",
			"name": "文本"
		},
		{
			"value": "number",
			"name": "数字"
		},
		{
			"value": "select",
			"name": "下拉"
		},
		{
			"value": "search",
			"name": "查询"
		},
		{
			"value": "datetime",
			"name": "日期时间"
		},
		{
			"value": "date",
			"name": "日期"
		},
		{
			"value": "time",
			"name": "时间"
		},
		{
			"value": "textarea",
			"name": "文本域"
		},
		{
			"value": "hidden",
			"name": "隐藏域"
		},
		{
			"value": "checkbox",
			"name": "复选框"
		},
		{
			"value": "formula",
			"name": "公式"
		},
		{
			"value": "rollupsummary",
			"name": "汇总字段"
		},
		{
			"value": "label",
			"name": "标签"
		}
	];
	this.pageTypeList = [{
		"value": "listview",
		"name": "列表视图"
	}, {
		"value": "formview",
		"name": "表单视图"
	}, {
		"value": "searchview",
		"name": "查询视图"
	}, {
		"value": "dashboardview",
		"name": "Dashboard视图"
	}, {
		"value": "ureportview",
		"name": "UReport视图"
	}, {
		"value": "buttonparaview",
		"name": "按钮参数视图"
	}, {
		"value": "actionview",
		"name": "Action视图"
	}, {
		"value": "detailview",
		"name": "明细视图"
	}];
	this.aggregateTypeList = [{
			"value": "sum",
			"name": "求和"
		},
		{
			"value": "count",
			"name": "数量"
		},
		{
			"value": "average",
			"name": "平均值"
		},
		{
			"value": "min",
			"name": "最小值"
		},
		{
			"value": "max",
			"name": "最大值"
		},
	];
	this.orderTypeList = [{
		"value": "asc",
		"name": "升序"
	}, {
		"value": "desc",
		"name": "降序"
	}]

	this.fieldExtraList = [{
			"name": "年",
			"value": "year"
		},
		{
			"name": "年-季度",
			"value": "quarter"
		},
		{
			"name": "年-月",
			"value": "month"
		},
		{
			"name": "年-月-日",
			"value": "day"
		},
	];
	this.columnViewTypeList = [{
			"value": "autonumber",
			"name": "自动编号"
		},
		{
			"value": "formula",
			"name": "公式"
		},
		{
			"value": "rollupsummary",
			"name": "汇总域"
		},
		{
			"value": "lookup",
			"name": "查询"
		},
		{
			"value": "checkbox",
			"name": "复选框"
		},
		{
			"value": "currency",
			"name": "货币"
		},
		{
			"value": "datetime",
			"name": "日期时间"
		},
		{
			"value": "date",
			"name": "日期"
		},
		{
			"value": "time",
			"name": "时间"
		},
		{
			"value": "email",
			"name": "Email"
		},
		{
			"value": "number",
			"name": "数字"
		},
		{
			"value": "phone",
			"name": "电话"
		},
		{
			"value": "picklist",
			"name": "选择"
		},
		{
			"value": "picklist-multi",
			"name": "多选"
		},
		{
			"value": "text",
			"name": "文本框"
		},
		{
			"value": "textarea",
			"name": "文本域"
		},
		{
			"value": "textarea-long",
			"name": "长文本域"
		},
		{
			"value": "textarea-rich",
			"name": "富文本域"
		},
		{
			"value": "url",
			"name": "URL"
		}
	];
	this.dataTypeList=[{
						value: "string",
						name: "string"
					},
					{
						value: "long",
						name: "long"
					},
					{
						value: "bigdecimal",
						name: "bigdecimal"
					},
					{
						value: "integer",
						name: "integer"
					},
					{
						value: "datetime",
						name: "datetime"
					},
					{
						value: "date",
						name: "date"
					},
					{
						value: "time",
						name: "time"
					},
					{
						value: "boolean",
						name: "boolean"
					},
					{
						value: "binary",
						name: "binary"
					},
				]
};

export default new ShareData();
